<template>
    <div>
        <h1>登录</h1>
    </div>
</template>
<script lang="ts" setup>
import user from '@/api/user'
import { useStore } from 'vuex'
import { getLoginInfo } from '@/api/common'
import { onMounted } from '@vue/runtime-core'
console.log(user)

onMounted(() => {
  getLoginInfo().then(({ data }) => {
    console.log(data.logo_square)
  })
})
const store = useStore()
console.log(store.state.count)
</script>
<style>
</style>
